package com.scoring.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.scoring.system.pojo.ClassCurriculum;

public interface ClassCurriculumMapper {
    int deleteByPrimaryKey(Integer id);
    
    int softDelete(Integer id);

    int insert(ClassCurriculum record);

    int insertSelective(ClassCurriculum record);

    ClassCurriculum selectByPrimaryKey(Integer id);
    
    ClassCurriculum selectByCourse(Integer courseId);
    
    List<ClassCurriculum> listByClassIdAndTerm(@Param("classId")Integer classId,@Param("term")String term);

    int updateByPrimaryKeySelective(ClassCurriculum record);

    int updateByPrimaryKey(ClassCurriculum record);
}